From a1a3b44764a5e0ba57baf00336e5942a45670ec0 Mon Sep 17 00:00:00 2001 From: "kaf24@localhost.localdomain" Date: Mon, 28 Aug 2006 12:49:14 +0100 Subject: [PATCH] [TOOLS] Remove Gentoo-specific workaround in networking scripts -- apparently it is not needed (reported by Tuan Van ). See bugzilla issue #741 for more details. Signed-off-by: Keir Fraser --- tools/examples/xen-network-common.sh | 40 +++++++++------------------- 1 file changed, 12 insertions(+), 28 deletions(-) diff --git a/tools/examples/xen-network-common.sh b/tools/examples/xen-network-common.sh index 4c230a6402..46708347e3 100644 --- a/tools/examples/xen-network-common.sh +++ b/tools/examples/xen-network-common.sh @@ -44,34 +44,18 @@ then } elif ! which ifup >/dev/null 2>/dev/null then - if [ -e /etc/conf.d/net ] - then - preiftransfer() - { - true - } - ifup() - { - /etc/init.d/net.$1 start - } - ifdown() - { - /etc/init.d/net.$1 stop - } - else - preiftransfer() - { - true - } - ifup() - { - false - } - ifdown() - { - false - } - fi + preiftransfer() + { + true + } + ifup() + { + false + } + ifdown() + { + false + } else preiftransfer() { -- 2.30.2